#ifndef _CLK_H
#define _CLK_H

#include <arch/cpu/soc/clk.h>

struct clk *clk_get_by_id(unsigned int id);

struct clk *clk_get(const char *name);

int clk_enable(struct clk *clk);

int clk_disable(struct clk *clk);

uint32_t clk_get_rate(struct clk *clk);

#endif /* _CLK_H */

